import java.nio.channels.NonReadableChannelException;
import java.util.*;
public class test1 {

    public static String setstring(String str) {

        StringBuilder result= new StringBuilder();
        for (char c:str.toCharArray()){

            if (result.indexOf(String.valueOf(c))==-1){
                result.append(c);
            }

        }
        return result.toString();
    }





}
